add_llvm_library(YTCodeCheckTool MODULE 
	YTCodeCheckTool.cpp
	FWPluginComm.hpp
    FWPluginPropertyCheck.hpp
	PLUGIN_TOOL
	clang
)

if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
  target_link_libraries(YTCodeCheckTool PRIVATE
    clangAST
    clangBasic
    clangFrontend
    LLVMSupport
    )
endif()
